/**
 *
 */
package com.zhuoyue.zhtj.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 考勤记录Entity
 * @author hss
 * @version 2017-09-26
 */
public class Kqjl extends DataEntity<Kqjl> {
	
	private static final long serialVersionUID = 1L;
	private String num;		// 学号
	private String vaspect;		// 验证方式
	private String inoutmode;		// 打卡状态
	private String rdate;		// 日期
	private String address;		// 考勤机IP地址
	
	public Kqjl() {
		super();
	}

	public Kqjl(String id){
		super(id);
	}

	@Length(min=0, max=30, message="学号长度必须介于 0 和 30 之间")
	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}
	
	@Length(min=0, max=1, message="验证方式长度必须介于 0 和 1 之间")
	public String getVaspect() {
		return vaspect;
	}

	public void setVaspect(String vaspect) {
		this.vaspect = vaspect;
	}
	
	@Length(min=0, max=1, message="打卡状态长度必须介于 0 和 1 之间")
	public String getInoutmode() {
		return inoutmode;
	}

	public void setInoutmode(String inoutmode) {
		this.inoutmode = inoutmode;
	}
	
	@Length(min=0, max=25, message="日期长度必须介于 0 和 25 之间")
	public String getRdate() {
		return rdate;
	}

	public void setRdate(String rdate) {
		this.rdate = rdate;
	}
	
	@Length(min=0, max=30, message="考勤机IP地址长度必须介于 0 和 30 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
}